<!--# layout("/common/layout.html",{"jsBase":"/js/admin/dict/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
	<div class="layui-row">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">字典值<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="text" name="value" id="value" value="${dict.value}" class="layui-input" lay-verify="required">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">字典名称<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="text" name="name" id="name" value="${dict.name}" class="layui-input" lay-verify="required">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">字典类型代码<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="text" name="type" id="type" value="${dict.type}"  class="layui-input" lay-verify="required">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">字典类型名称<em style="color: red;">*</em></label>
				<div class="layui-input-inline">
					<input type="text" name="typeName" id="typeName" value="${dict.typeName}" class="layui-input" lay-verify="required">
				</div>
			</div>
		</div>
		<!--<div class="layui-form-item">-->
			<!--<div class="layui-inline">-->
				<!--<label class="layui-form-label">父字典值</label>-->
				<!--<div class="layui-input-inline">-->
					<!--<input type="text" name="parent" value="${dict.parent}" class="layui-input">-->
				<!--</div>-->
			<!--</div>-->
			<!--<div class="layui-inline">-->
				<!--<label class="layui-form-label">显示顺序</label>-->
				<!--<div class="layui-input-inline">-->
					<!--<input type="text" name="sort" value="${dict.sort}"  class="layui-input">-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
		<div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-inline">
				<input type="text" name="remark" style="width: 534px;" value="${dict.remark}" class="layui-input">
			</div>
		</div>
	</div>
	<input type="hidden" name="id" value=${dict.id} />
	<layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
  var dictEdit = layui.edit
  dictEdit.init();
});
</script>
